package cn.lsc.system.service.impl;


import cn.lsc.basic.service.impl.BaseServiceImpl;

import cn.lsc.system.domain.Systemdictionarydetail;

import cn.lsc.system.mapper.SystemdictionarydetailMapper;
import cn.lsc.system.service.ISystemdictionarydetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SystemdictionarydetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService {

    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;

    @Override
    public List<Systemdictionarydetail> loadByTypeId(Long types_id) {
        List<Systemdictionarydetail> list = systemdictionarydetailMapper.loadByTypeId(types_id);

        list.forEach(System.out::println);

        return list;

    }
}
